package com.itheima.String;

public class DM11 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        sb.append("红色").append("蓝色").append("绿色");
        System.out.println(sb);
        sb.reverse();
        System.out.println(sb);
        System.out.println(sb.length());
        String s = sb.toString();
        System.out.println(s);
    }
}
